﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.Master" AutoEventWireup="true" CodeBehind="SelectTicket.aspx.cs" Inherits="OnlineMovieTicket.WebForms.BuyTicket.SelectTicket" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ctpHead" runat="server">
    <style type="text/css">
        .style1
        {
            width: 94px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ctpBody" runat="server">         
                <asp:Timer ID="Timer" runat="server" Interval="5000" OnTick="Timer_Tick"></asp:Timer>    
                <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
                <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always">
                <Triggers >
                    <asp:AsyncPostBackTrigger ControlID="Timer" EventName="Tick" />
                    <asp:AsyncPostBackTrigger ControlID="A1" EventName="Click" />
                    <asp:AsyncPostBackTrigger ControlID="A2" EventName="Click" />
                    <asp:AsyncPostBackTrigger ControlID="A3" EventName="Click" />
                    <asp:AsyncPostBackTrigger ControlID="A4" EventName="Click" />
                    <asp:AsyncPostBackTrigger ControlID="B1" EventName="Click" />
                    <asp:AsyncPostBackTrigger ControlID="B2" EventName="Click" />
                    <asp:AsyncPostBackTrigger ControlID="B3" EventName="Click" />
                    <asp:AsyncPostBackTrigger ControlID="B4" EventName="Click" />
                </Triggers>        
                <ContentTemplate>  
   <table width="980px" cellpadding="6" cellspacing="6" class="pageBackGround" >
       <tr><td><h2 class="fontWhite">Select Seat(s)</h2></td></tr>
       <tr>
         <td align="center">                                            
                             <table width="200" bgcolor="black" class="fontWhite">
                                    <tr><td></td><td align="center">1</td><td align="center">2</td><td align="center">3</td><td align="center">4</td></tr>
                                    <tr>
                                        <td align="right">A</td>
                                        <td align="center">
                                            <asp:Button ID="A1" runat="server" Text="" onclick="A1_Click" Height="15px" Width="15px"/>
                                        </td>
                                        <td align="center">
                                             <asp:Button ID="A2" runat="server" onclick="A2_Click" Height="15px" Width="15px" /></td>
                                        <td align="center">
                                            <asp:Button ID="A3" runat="server" onclick="A3_Click" Height="15px" Width="15px" /></td>
                                        <td align="center">
                                             <asp:Button ID="A4" runat="server"  onclick="A4_Click" Height="15px" Width="15px"/></td>
                                    </tr>
                                    <tr>
                                        <td align="right">B</td>
                                        <td align="center">
                                            <asp:Button ID="B1" runat="server" onclick="B1_Click" Height="15px" Width="15px"/></td>
                                        <td align="center">
                                           <asp:Button ID="B2" runat="server"  onclick="B2_Click" Height="15px" Width="15px"/></td>
                                        <td align="center">
                                            <asp:Button ID="B3" runat="server" onclick="B3_Click" Height="15px" Width="15px"/></td>
                                        <td align="center">
                                            <asp:Button ID="B4" runat="server" onclick="B4_Click" Height="15px" Width="15px"/></td>
                                    </tr>
                                    <tr>
                                    <td align="right">C</td>
                                    <td align="center">
                                        <asp:Button ID="C1" runat="server"  onclick="C1_Click"  Height="15px" Width="15px" /></td>
                                    <td align="center">
                                       <asp:Button ID="C2" runat="server"  onclick="C2_Click"  Height="15px" Width="15px" /></td>
                                    <td align="center">
                                        <asp:Button ID="C3" runat="server"  onclick="C3_Click"  Height="15px" Width="15px" /></td>
                                    <td align="center">
                                        <asp:Button ID="C4" runat="server"  onclick="C4_Click"  Height="15px" Width="15px" /></td>
                                </tr>

                                    <tr>
                                        <td colspan="4"><asp:HiddenField ID="movieAssignmentId" runat="server" /><asp:HiddenField ID="transNum" runat="server" /></td>
                                   </tr>
                            </table> 
                            <br />
                    </td>
                 </tr>
                 <tr>
                    <td align="center" class="fontWhite">
                          <table bgcolor="white">
                             <tr>
                                    <td>
                            <table bgcolor="black" cellpadding="6" cellspacing="6">
                                    <tr>
                                        <td align="left">
                                            Movie Name
                                        </td>
                                        <td>:</td>
                                        <td colspan="3" align="left">            
                                            <asp:Label ID="lblMovieName" runat="server"></asp:Label>
                                        </td>        
                                    </tr>
                                    <tr>
                                        <td align="left">Time</td>
                                        <td>:</td>
                                        <td colspan="3" align="left">            
                                            <asp:Label ID="lblTime" runat="server"></asp:Label>            
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="left">
                                            Amount:
                                        </td>
                                        <td>:</td>
                                        <td colspan="3" align="left">
                                            $
                                            <asp:Label ID="lblAmt" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr><td colspan="5" height="10"></td></tr>
                                    <tr>
                                        <td colspan="5" align="center">               
                                            <asp:Button ID="purchaseBtn" runat="server" onclick="Button1_Click" 
                                                Text="Purchase" class="btn"/>
               
                                        </td>
                    </tr>
               </table>
               </td>
            </tr>
         </table>
               
        <br />
    </tr>
</table>



   </ContentTemplate>
</asp:UpdatePanel>
        
    

    

            
 
</asp:Content>

